package chap3;
import java.io.*;
import javax.servlet.*;

public class Sample3_8Filter implements Filter{
  public void doFilter(ServletRequest request,
                       ServletResponse response,
                       FilterChain chain)
                       throws IOException, ServletException{
      System.out.println("フィルタ実行 : 事前処理");
      chain.doFilter(request, response);
      System.out.println("フィルタ実行 : 事後処理");
    }
  public void init(FilterConfig filterConfig)
                              throws ServletException{  }
  public void destroy(){  }
}
